package io.github.talelin.latticy.dto.drools;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @authoer:wulongbo
 * @createDate:2022/8/9
 * @description:
 */
@Data
public class BookCalculateCustomDTO {

    @NotNull(message = "{permission.id.not-null}")
    private String templateName;

    @NotNull(message = "{permission.id.not-null}")
    private String ruleName;

    @NotNull(message = "{permission.id.not-null}")
    private String symbol;

    @NotNull(message = "{permission.id.not-null}")
    private Double fieldValue;

    @NotNull(message = "{permission.id.not-null}")
    private Double reduction;
}
